/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.mzk.oai.metadataRepository.metadata;

/**
 *
 * @author Martin Rehanek, Martin.Rehanek@gmail.com
 */
public class OaiSet {

    private String setName;
    private String setSpec;
    private int size;

    public OaiSet(String setName, String setSpec, int size) {
        this.setName = setName;
        this.setSpec = setSpec;
        this.size = size;
    }

    /**
     * @return the setName
     */
    public String getSetName() {
        return setName;
    }

    /**
     * @return the setSpec
     */
    public String getSetSpec() {
        return setSpec;
    }

    /**
     * @return number of items in set
     */
    public int getSize() {
        return size;
    }

    /**
     * @return
     */
    public String toXmlString(){
        return "<set>neco</set>";
    }

    public void setSize(int size) {
        this.size = size;
    }
}
